package com.coda;

import com.coda.Properties.AliOssProperties;
import com.coda.Properties.JwtProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.coda.mapper")
@EnableTransactionManagement
@EnableConfigurationProperties({JwtProperties.class, AliOssProperties.class})
@EnableCaching
public class RepositoryManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(RepositoryManageApplication.class, args);
    }
}
